/* Reset & Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  color: #2d3748;
}

/* Common utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Form elements */
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* 导入字体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* 全局样式 */
:root {
  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 
    Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

/* 应用全局字体 */
* {
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

/* Element Plus 组件字体覆盖 */
.el-button,
.el-input__inner,
.el-message-box__title,
.el-message__content,
.el-dropdown-menu__item,
.el-menu-item,
.el-form-item__label,
.el-table {
  font-family: var(--font-family) !important;
} 